package com.tacc.tyun.service;

import com.github.pagehelper.PageInfo;
import com.tacc.tyun.base.BaseService;
import com.tacc.tyun.model.BaseDepart;

import java.util.List;

/**
 * @author yu sheng qiang
 * @create 2017-04-19 14:10
 **/
public interface BaseDepartService extends BaseService<BaseDepart> {
    //分页查询
    public PageInfo<BaseDepart> pageInfo(BaseDepart baseDepart, int pageSize, int pageNum);
    //条件查询
    public List<BaseDepart> list(BaseDepart baseDepart);
}
